set(SOURCES
    imgui_impl_glfw.cpp

    imgui_impl_opengl3.cpp
    # imgui_impl_vulkan.cpp

    imgui_demo.cpp
    imgui_widgets.cpp
    imgui.cpp
    imgui_draw.cpp
    imgui_tables.cpp
)

add_library(imgui ${SOURCES})

if(MINGW)
target_link_libraries(imgui
    PRIVATE
    glfw3
    OpenGL::GL
    # Vulkan::Vulkan
)
else()
target_link_libraries(imgui
    PRIVATE
    glfw
    OpenGL::GL
    # Vulkan::Vulkan
)
endif()